package com.onlyphoto.onlymall.utils;


import android.content.Context;
import android.util.AttributeSet;

import androidx.recyclerview.widget.GridLayoutManager;

/**
 * 布局管理
 * 让其选中item居中显示并控制滑动速度
 *
 * Created by gaochujia on 2019-07-28.
 */
public class MyLayoutManager extends GridLayoutManager {

    public MyLayoutManager(Context context, AttributeSet attrs, int defStyleAttr, int defStyleRes) {
        super(context, attrs, defStyleAttr, defStyleRes);
    }

    public MyLayoutManager(Context context, int spanCount) {
        super(context, spanCount);
    }

    public MyLayoutManager(Context context, int spanCount, int orientation, boolean reverseLayout) {
        super(context, spanCount, orientation, reverseLayout);
    }

}

